package com.wechat.shopping.mall.po;

import com.wechat.shopping.mall.bean.po.WechatShoppingGoods;
import com.wechat.shopping.mall.bean.po.WechatShoppingGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface WechatShoppingGoodsMapper {
    int countByExample(WechatShoppingGoodsExample example);

    int deleteByExample(WechatShoppingGoodsExample example);

    int deleteByPrimaryKey(Integer goodsId);

    int insert(WechatShoppingGoods record);

    int insertSelective(WechatShoppingGoods record);

    List<WechatShoppingGoods> selectByExampleWithRowbounds(WechatShoppingGoodsExample example, RowBounds rowBounds);

    List<WechatShoppingGoods> selectByExample(WechatShoppingGoodsExample example);

    WechatShoppingGoods selectByPrimaryKey(Integer goodsId);

    int updateByExampleSelective(@Param("record") WechatShoppingGoods record, @Param("example") WechatShoppingGoodsExample example);

    int updateByExample(@Param("record") WechatShoppingGoods record, @Param("example") WechatShoppingGoodsExample example);

    int updateByPrimaryKeySelective(WechatShoppingGoods record);

    int updateByPrimaryKey(WechatShoppingGoods record);
}